﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProcurementManagement.Domain.Dtos.Quality
{
    public class AddProductQualityDTO
    {
        /// <summary>
        /// 质检id 
        /// </summary>
        public int QualityProId { get; set; }
        /// <summary>
        ///采购申请id
        /// </summary>
        public int? ProAppId { get; set; }
        /// <summary>
        /// 采购合同id
        /// </summary>
        public int? PurchaseContractsIds { get; set; }
        /// <summary>
        /// 质检主题
        /// </summary>
        public string? QualityName { get; set; }
        /// <summary>
        /// 质检编号
        /// </summary>
        public string? QualityNumber { get; set; }
        /// <summary>
        /// 质检类型
        /// </summary>
        public int? QualityType { get; set; }
        /// <summary>
        /// 合格数
        /// </summary>
        public int? Qualified { get; set; }

        /// <summary>
        /// 质检结果
        /// </summary>
        public string? QcOutcome { get; set; }
        /// <summary>
        /// 不合格数量
        /// </summary>
        public int? Unqualified { get; set; }
        /// <summary>
        /// 审核结果描述
        /// </summary>
        public string? AuditResults { get; set; }
        /// <summary>
        /// 人员id
        /// </summary>
        public int? ProContract { get; set; }
        /// <summary>
        /// 质检人员
        /// </summary>
        public string? QcPerson { get; set; }
        /// <summary>
        /// 质检时间
        /// </summary>
        public DateTime? QcTime { get; set; }
        /// <summary>
        /// 申请人姓名
        /// </summary>
        public string? ApplyName { get; set; }
        /// <summary>
        /// 审核人员姓名
        /// </summary>
        public string? AugitName { get; set; }
        /// <summary>
        /// 质检状态
        /// </summary>
        public int? QcState { get; set; }
        /// <summary>
        /// 添加人姓名
        /// </summary>
        public string? AddName { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }

        /// <summary>
        /// 修改人姓名
        /// </summary>
        public string? UpdName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdTime { get; set; }

        /// <summary>
        /// 删除人姓名
        /// </summary>
        public string? DelName { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DelTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool? IsDel { get; set; } = false;
        /// <summary>
        /// 公司id
        /// </summary>
        public string? Office_Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public int? User_Id { get; set; }
    }
}
